home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / Read Me next >
Text File  |  1997-06-28  |  1KB  |  45 lines

  1. About Warrior’s Progress                       MacHack, 1997
  2.  
  3. Warrior’s Progress is a hack to add a proper progress window
  4. with a progress bar to CodeWarrior’s builds.  It’s not really practical,
  5. because it’s got some evil hacks, and because it uses some really
  6. slow AppleEvents to keep in sync with CodeWarrior.
  7.  
  8. I don’t think I’ll ever do a really stable version of this hack;
  9. it’s more a proof of concept -- I’ll leave it to the people
  10. at Metrowerks who can do a proper job.
  11.  
  12. Here's how to use it:
  13.  
  14. Start the CodeWarrior IDE 1.7.4.
  15.  
  16. Anchor the tool bar, and remove all those useless icons from it,
  17. by shift-option-whatever-clicking them.
  18.  
  19. Make some files dirty, so you’re ready to compile.
  20.  
  21. Start up Warrior’s Progress.
  22.  
  23. Choose “Bring Up To Date.”
  24.  
  25. Wait while it queries CodeWarrior about your project.
  26. It will start CodeWarrior compiling, and display the progress.
  27.  
  28. Close the window yourself when it’s done.  Sorry, but the hack contest
  29. is beginning!
  30.  
  31. The first time through, the progress bar won't be very accurate.
  32. Try it a second time, without quitting Warrior’s Progress.
  33. Since it keeps track of the compile lengths, the second time
  34. the bar should move smoothly.  If I had written the code
  35. to save the statistics, I think it would be pretty accurate
  36. most of the time.  Even better, CodeWarrior could easily keep the
  37. information in the project database.
  38.  
  39. That’s it.  Share and Enjoy!  Feel free to use any of this
  40. code in your own hacks.
  41.  
  42. Tom Lippincott
  43. lippin@zocalo.net
  44.  
  45.